﻿namespace Adventure.Server.Library
{
    public class Level : AdventureObject
    {
        #region Lifetime

        /// <summary>
        /// Dispose this instance.
        /// </summary>
        /// <param name="disposing">Full dispose.</param>
        protected override void Dispose(bool disposing)
        {
            // Dispose base class
            base.Dispose(disposing);

            // Action to do if last reference is gone.
            if (disposing && ReferenceCounter == 0)
            {
                // Nothing to do so far.
            }
        }

        /// <summary>
        /// Prepare saving this instance.
        /// </summary>
        protected override void PrepareSave()
        {
            base.PrepareSave();
        }

        /// <summary>
        /// Init this instance.
        /// </summary>
        /// <param name="attributes">Attributes of the object.</param>
        protected override void Init(ObjectAttributes attributes)
        {
            base.Init(attributes);
        }

        #endregion
    }
}
